package com.example.lenovo0509.utils;

import android.util.Log;

public class URLUtils {

    //新闻头条网址
    private static String NewsUrl="http://v.juhe.cn/toutiao/index";
    public static String getNewsUrl(String type){//可选择新闻分类
        String msg="?type="+type+"&key=44f0b26e64c09fcf3df048aa22bd5445";
        String URL=NewsUrl+msg;
        return URL;
    }
}
